package kr.hkit.powerjava.chapter12.work;

public class Test {
	public static void main(String[] args) {
		
		class VideoPlayer {
			Controllable player = new Controllable() {
				
				@Override
				public void stop() {
					System.out.println("비디오 플레이어 - 정지 ■");
				}
				
				@Override
				public void play() {
					System.out.println("비디오 플레이어 - 재생 ▶");
				}
			}; 
		}
		VideoPlayer remote = new VideoPlayer();
		remote.player.play();
		remote.player.stop();
	}

}
